package game.players.user;

import com.uqbar.vainilla.appearances.Animation;
import com.uqbar.vainilla.appearances.Sprite;

import game.players.SoccerPlayer;
import game.players.states.CryingPlayer;

public class CryingUserPlayer extends CryingPlayer {

	public CryingUserPlayer(SoccerPlayer player) {
		super(player);
	}

	@Override
	protected void setAnimation() {
		this.getPlayer().setAppearance(new Animation(0.3,
				Sprite.fromImage("/images/goal3_sufriendo2.png").crop(0, 3, 33, 65).scale(1.5),
				Sprite.fromImage("/images/goal3_sufriendo2.png").crop(63, 0, 33, 65).scale(1.5)
				));
	}

}
